<!DOCTYPE html>
<html lang="en">
<head>
<title>Home</title>
<meta charset="utf-8">
<meta name="description" content="Place your description here">
<meta name="keywords" content="put, your, keyword, here">
<meta name="author" content="Templates.com - website templates provider">
<link rel="stylesheet" href="css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
<script type="text/javascript" src="js/jquery-1.4.2.min.js" ></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<!--[if lt IE 7]>
     <link rel="stylesheet" href="css/ie/ie6.css" type="text/css" media="screen">
     <script type="text/javascript" src="js/ie_png.js"></script>
     <script type="text/javascript">
        ie_png.fix('.png, footer, header nav ul li a, .nav-bg, .list li img');
     </script>
<![endif]-->
<!--[if lt IE 9]>
  	<script type="text/javascript" src="js/html5.js"></script>
  <![endif]-->
  <script type="text/javascript">
<!--

function chkData(){
temp1 = document.all.item("uid").value;
temp2 = document.all.item("upwd").value;

if(temp1 == "ชื่อผู้ใช้"){
alert("กรุณาใส่ชื่อผู้ใช้")
document.all.item("uid").focus()
}
else{
if(temp2 == "รหัสผ่าน"){
alert("กรุณาใส่รหัสผ่าน")
document.all.item("upwd").focus()
}
else{
flogin.submit();
}
}
}
//-->
</script>
</head>
<body id="page1">
<div class="wrap">
   <!-- header -->
   <header>
      <div class="container">
         <h1><a href="Homeindex.php">Student Portfolio Management System</a></h1>
         <nav>
            <ul>
               <li class="current"><a href="HomeIndex.php" class="m1">หน้าแรก</a></li>
               <li class="last"><a href="searchUser.php" class="m5">ค้นหา</a></li>
            </ul>
         </nav>
         <form action="" id="search-form">
            <fieldset>
            <div class="rowElem">
               <input type="text">
               <a href="#" onClick="document.getElementById('search-form').submit()">ค้นหา</a></div>
            </fieldset>
         </form>
      </div>
   </header>
   <div class="container">
      <!-- aside -->
      <aside>
         <div class="wrap">
   <!-- header -->
   <div class="container">
      <!-- aside -->
      <aside><h2 align ="left">เข้าสู่ระบบ</h2>
	  <form name="flogin" method="post" action="chkLogin.php">
    <input name="uid" type="text" value="ชื่อผู้ใช้" onfocus="if(this.value=='ชื่อผู้ใช้')this.value=''" onblur="if(this.value=='')this.value='ชื่อผู้ใช้'"/>
     <div class="blank"></div><br>
    <input name="upwd" type="password" value="รหัสผ่าน" onfocus="if(this.value=='รหัสผ่าน')this.value=''" onblur="if(this.value=='')this.value='รหัสผ่าน'"/>    
    <br><br>
    <input name="button" type="button" value="ลงชื่อเข้าใช้" onClick="chkData()">
	</form>
    </aside>
      <!-- content -->
      <section id="content">   
         <div class="inside">       
         </div>
      </section>
   </div>
</div>
      </aside>
      <!-- content -->
      <section id="content">
         <div id="banner">
            <h2></h2>
         </div>
      </section>  
</body>
</html>
